function newUser()
{
var win = new Window({className: "alphacube", title: "Galaxy Gate ", width:350, height:150, minimizable: false, maximizable: false, resizable: false}); 
		win.setDestroyOnClose();
		win.setHTMLContent("<h1>Loading</h1>");
		win.showCenter(true);
		win.toFront();
		new Ajax.Request("register.php", 
		{
			method: 'get',
			onSuccess: function(transport) 
			{
			if(transport.responseText.indexOf("Could not cross")==-1)
				{
					win.maximize();
				}
				win.setHTMLContent(transport.responseText);
			}
 					,
			onFailure: function(transport)
			{
			win.setHTMLContent("Could not access the gate. Wait a few minutes and try again.");
			}
		})
}     

